mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Implements username authentication
It's now possible to login with either username or email That's necessary to be backward compatible for iChain login
This commit is contained in:
parent
aeb23ba914
commit
15c6ed127f
8 changed files with 44 additions and 18 deletions
|
|
@ -38,7 +38,7 @@ Devise.setup do |config|
|
|||
# session. If you need permissions, you should implement that in a before filter.
|
||||
# You can also supply a hash where the value is a boolean determining whether
|
||||
# or not authentication should be aborted when the value is not present.
|
||||
# config.authentication_keys = [ :email ]
|
||||
config.authentication_keys = [ :login ]
|
||||
|
||||
# Configure parameters from the request object used for authentication. Each entry
|
||||
# given should be a request method and it will automatically be passed to the
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue