I've had to add :registrationable to allow editing of passwords etc
Althouth I need to remove the routes for sign_up.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
class User < ApplicationRecord
|
||||
# Include default devise modules. Others available are:
|
||||
# :confirmable, :lockable, :timeoutable, :trackable and :omniauthable
|
||||
devise :database_authenticatable, :recoverable, :rememberable, :validatable, :lockable, :timeoutable, :trackable
|
||||
devise :database_authenticatable, :recoverable, :rememberable, :validatable, :lockable, :timeoutable, :trackable, :registerable
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user