mirror of
https://github.com/we-promise/sure.git
synced 2026-06-06 11:19:02 +00:00
Use DB for auth sessions (#1233)
* DB sessions * Validations for profile image
This commit is contained in:
@@ -17,7 +17,7 @@ class RegistrationsController < ApplicationController
|
||||
|
||||
if @user.save
|
||||
Category.create_default_categories(@user.family)
|
||||
login @user
|
||||
@session = create_session_for(@user)
|
||||
flash[:notice] = t(".success")
|
||||
redirect_to root_path
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user