mirror of
https://github.com/fluent/fluentd-ui.git
synced 2026-05-05 10:56:11 +02:00
Store password into ~/.fluentd-ui dir to keep it after updating
This commit is contained in:
parent
c8f8a62c23
commit
36b9b8782a
@ -1,3 +1,7 @@
|
||||
Release 0.1.5 - (not released yet)
|
||||
|
||||
* [fixed] Keep changed password after update fluentd-ui gem.
|
||||
|
||||
Release 0.1.4 - 2014/08/20
|
||||
|
||||
* [fixed] Fix can't setting in_tail with format regexp.
|
||||
|
||||
@ -10,7 +10,7 @@ class User
|
||||
|
||||
has_secure_password
|
||||
|
||||
ENCRYPTED_PASSWORD_FILE = Rails.root + "db/#{Rails.env}-user.txt"
|
||||
ENCRYPTED_PASSWORD_FILE = FluentdUI.data_dir + "/#{Rails.env}-user.txt"
|
||||
|
||||
attr_accessor :name, :password, :password_confirmation, :current_password
|
||||
attr_writer :password_digest
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user