mirror of
https://github.com/astuto/astuto.git
synced 2025-12-15 03:07:52 +01:00
Add instructions to set password for OAuth users (#346)
This commit is contained in:
committed by
GitHub
parent
57ed8c338d
commit
5a162c6f4f
@@ -31,8 +31,13 @@ Rails.application.routes.draw do
|
||||
|
||||
devise_for :users, :controllers => {
|
||||
:registrations => 'registrations',
|
||||
:sessions => 'sessions'
|
||||
:sessions => 'sessions',
|
||||
:passwords => 'passwords'
|
||||
}
|
||||
|
||||
devise_scope :user do
|
||||
get '/users/send_set_password_instructions', to: 'registrations#send_set_password_instructions', as: :send_set_password_instructions
|
||||
end
|
||||
|
||||
resources :tenants, only: [:show, :update]
|
||||
resources :users, only: [:index, :update]
|
||||
|
||||
Reference in New Issue
Block a user