super_admin: check password complexity client side
This commit is contained in:
parent
90d7ee872e
commit
94b3ec942b
4 changed files with 32 additions and 4 deletions
|
@ -84,6 +84,10 @@ Rails.application.routes.draw do
|
|||
passwords: 'super_admins/passwords'
|
||||
}
|
||||
|
||||
devise_scope :super_admin do
|
||||
get '/super_admins/password/test_strength' => 'super_admins/passwords#test_strength'
|
||||
end
|
||||
|
||||
get 'super_admins/edit_otp', to: 'super_admins#edit_otp', as: 'edit_super_admin_otp'
|
||||
put 'super_admins/enable_otp', to: 'super_admins#enable_otp', as: 'enable_super_admin_otp'
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue