diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2019-09-18 16:37:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-18 16:37:27 +0200 |
commit | e1066cd4319a220d5be16e51ffaf5236a2f6e866 (patch) | |
tree | 3cac387721ffb3cefa66d96d1867ae88c9e249ce /app/models/form | |
parent | d0c2c5278391b82ba7fa2f230bf237805ff61a0c (diff) |
Add password challenge to 2FA settings, e-mail notifications (#11878)
Fix #3961
Diffstat (limited to 'app/models/form')
-rw-r--r-- | app/models/form/challenge.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/app/models/form/challenge.rb b/app/models/form/challenge.rb new file mode 100644 index 000000000..40c99649c --- /dev/null +++ b/app/models/form/challenge.rb @@ -0,0 +1,8 @@ +# frozen_string_literal: true + +class Form::Challenge + include ActiveModel::Model + + attr_accessor :current_password, :current_username, + :return_to +end |