Improving statuses, adding a composer drawer, which doesn't work yet
This commit is contained in:
parent
f5e1127894
commit
44e57f64dd
14 changed files with 138 additions and 12 deletions
|
@ -4,7 +4,7 @@ Doorkeeper.configure do
|
|||
|
||||
# This block will be called to check whether the resource owner is authenticated or not.
|
||||
resource_owner_authenticator do
|
||||
current_user || redirect_to(new_user_session_url)
|
||||
current_user || warden.authenticate!(scope: :user)
|
||||
end
|
||||
|
||||
resource_owner_from_credentials do |routes|
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue