Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
pounced-on.me
mastodon
Commits
58755439
Unverified
Commit
58755439
authored
5 years ago
by
Eugen Rochko
Committed by
GitHub
5 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Fix wrong variable regression from #11753 (#11763)
parent
1653b587
changes
add-jyrkis-deluxe
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
app/controllers/auth/confirmations_controller.rb
+1
-1
app/controllers/auth/confirmations_controller.rb
with
1 addition
and
1 deletion
+1
-1
app/controllers/auth/confirmations_controller.rb
+
1
-
1
View file @
58755439
...
...
@@ -26,7 +26,7 @@ class Auth::ConfirmationsController < Devise::ConfirmationsController
def
after_resending_confirmation_instructions_path_for
(
_resource_name
)
if
user_signed_in?
if
user
.
confirmed?
&&
user
.
approved?
if
current_
user
.
confirmed?
&&
current_
user
.
approved?
edit_user_registration_path
else
auth_setup_path
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help