Sha256: a3142cfa739a33588ffb1b50f9a5b45498b24dec2abe80a7e986deeba7e8356d
Contents?: true
Size: 320 Bytes
Versions: 6
Compression:
Stored size: 320 Bytes
Contents
# encoding: utf-8 module Fastui class UserAuthenticator def initialize(user) @user = user end def authenticate(unencrypted_password) return false unless @user if @user.password == unencrypted_password @user else false end end end end
Version data entries
6 entries across 6 versions & 1 rubygems