0
0
Fork 0

Improving statuses, adding a composer drawer, which doesn't work yet

This commit is contained in:
Eugen Rochko 2016-08-25 19:52:55 +02:00
parent f5e1127894
commit 44e57f64dd
14 changed files with 138 additions and 12 deletions

View file

@ -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|