app/models/user.rb
# For Email and password Authentication:
# 1. in routes, remove the :skip hash for the devise_for rout
# 2. in devise initialiser, set params_authenticatable to true and http_authenticatable  to [:database]
# 3. here, add in :registerable, :confirmable, :recoverable, :rememberable to below
For Email and password Authentication:
1. in routes, remove the :skip hash for the devise_for rout
2. in devise initialiser, set params_authenticatable to true and http_authenticatable  to [:database]
3. here, add in :registerable, :confirmable, :recoverable, :rememberable to below
For Email and password Authentication : 1 . in routes remove the : skip hash for the devise_for rout 2 . in devise initialiser set params_authenticatable to true and http_authenticatable to [ : database ] 3 . here add in : registerable : confirmable : recoverable : rememberable to below
def provider_name
    if provider && provider == "mediawiki"
      I18n.t('devise.shared.links.wikimedia')
    elsif provider && provider == "osm"
      I18n.t('devise.shared.links.openstreetmap')
    else
      provider
    end
  end
def provider_name if provider && provider == "mediawiki" I18n . t ( 'devise.shared.links.wikimedia' ) elsif provider && provider == "osm" I18n . t ( 'devise.shared.links.openstreetmap' ) else provider end end
For Email and password Authentication:
1. in routes, remove the :skip hash for the devise_for rout
2. in devise initialiser, set params_authenticatable to true and http_authenticatable  to [:database]
3. here, add in :registerable, :confirmable, :recoverable, :rememberable to below
For Email and password Authentication : 1 . in routes remove the : skip hash for the devise_for rout 2 . in devise initialiser set params_authenticatable to true and http_authenticatable to [ : database ] 3 . here add in : registerable : confirmable : recoverable : rememberable to below