UX: Hide login/signup header buttons during authentication flows

This commit is contained in:
David Taylor
2019-08-08 13:57:18 +01:00
parent 3b8c468832
commit 6d3d08daad
4 changed files with 4 additions and 3 deletions

View File

@@ -387,7 +387,7 @@ class SessionController < ApplicationController
@error = I18n.t('user_api_key.invalid_token')
end
render layout: 'no_ember'
render layout: 'no_ember', locals: { hide_auth_buttons: true }
end
def forgot_password