Sha256: 48df8c3ba54a5bc3823cef9037dccd227553e62701bc90192ed2a2f1b7cefacf
Contents?: true
Size: 501 Bytes
Versions: 10
Compression:
Stored size: 501 Bytes
Contents
# frozen-string-literal: true module Rodauth VerifyChangeLogin = Feature.define(:verify_change_login) do depends :change_login, :verify_account_grace_period def change_login_notice_flash "#{super}. #{verify_account_email_sent_notice_flash}" end private def after_change_login super update_account(account_status_column=>account_unverified_status_value) setup_account_verification session[unverified_account_session_key] = true end end end
Version data entries
10 entries across 10 versions & 1 rubygems