Allow the user to delete their own account

This commit is contained in:
Jyri-Petteri Paloposki 2020-08-11 01:18:10 +03:00
parent f8cf140bf4
commit 46b8d3ce9f
7 changed files with 43 additions and 8 deletions

View file

@ -222,6 +222,7 @@ private
def redirect_to_login
respond_to do |format|
format.html { redirect_to login_path }
format.js { render js: "redirect_to('" + login_path + "')" }
format.m { redirect_to login_path(:format => 'm') }
end
end