1

“railsapps”应用程序的“user@example.com”的初始密码是什么?

noname_development=# select * from users;
 id |      email       |                      encrypted_password                      | reset_password_token | reset_password_sent_at | remember_created_at |         created_at         |         updated_at         | name | confirmation_token |       confirmed_at        | confirmation_sent_at | unconfirmed_email | role | invitation_token | invitation_created_at | invitation_sent_at | invitation_accepted_at | invitation_limit | invited_by_type | invited_by_id | invitations_count 
----+------------------+--------------------------------------------------------------+----------------------+------------------------+---------------------+----------------------------+----------------------------+------+--------------------+---------------------------+----------------------+-------------------+------+------------------+-----------------------+--------------------+------------------------+------------------+-----------------+---------------+-------------------
  1 | user@example.com | $2a$11$BUd5P4WM0fbjykUwhaIW/.tBCM1b0a2fI3UWMUYAhxGICW59YExbm |                      |                        |                     | 2019-01-16 19:39:17.371911 | 2019-01-16 19:39:17.382413 |      |                    | 2019-01-16 19:39:17.37032 |                      |                   |    2 |                  |                       |                    |                        |                  |                 |               |                 0
(1 row)
4

2 回答 2

1

“user@example.com”的任何 RailsApp 示例应用程序的默认密码是“changeme”。这记录在任何 RailsApp 示例应用程序的 README 文件中。

于 2019-01-19T08:45:12.707 回答
0

您是否尝试过使用“密码”?

于 2019-01-17T15:13:56.073 回答