Skip to content
Snippets Groups Projects
Unverified Commit 4658de82 authored by Mohamad Abras's avatar Mohamad Abras Committed by GitHub
Browse files

fix current user being nil on delete account page (#2749)

parent be121aef
Branches
Tags release-2.8.7
No related merge requests found
......@@ -79,6 +79,7 @@ class UsersController < ApplicationController
# GET /u/:user_uid/delete_account
def delete_account
redirect_to signin_path unless current_user
end
# POST /u/:user_uid/edit
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment