Class: Clandestine::SafeAuthentication
- Inherits:
-
Object
- Object
- Clandestine::SafeAuthentication
- Defined in:
- lib/clandestine/safe_authentication.rb
Class Method Summary collapse
Class Method Details
.authenticate(safe, password) ⇒ Object
7 8 9 10 |
# File 'lib/clandestine/safe_authentication.rb', line 7 def self.authenticate(safe, password) abort 'Invalid password!' unless authenticated?(safe, password) true end |