Migrate to Rais 8.0
- Remove all Rodauth stuff and implement simple custom auth - Migrate from sprockets to propshaft, hack some bootstrap stuff
This commit is contained in:
parent
0198a22278
commit
c35c7da6e0
66 changed files with 518 additions and 684 deletions
10
test/fixtures/accounts.yml
vendored
10
test/fixtures/accounts.yml
vendored
|
|
@ -1,10 +0,0 @@
|
|||
# Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
|
||||
one:
|
||||
email: freddie@queen.com
|
||||
password_hash: <%= RodauthApp.rodauth.allocate.password_hash("password") %>
|
||||
status: verified
|
||||
|
||||
two:
|
||||
email: brian@queen.com
|
||||
password_hash: <%= RodauthApp.rodauth.allocate.password_hash("password") %>
|
||||
status: verified
|
||||
9
test/fixtures/users.yml
vendored
Normal file
9
test/fixtures/users.yml
vendored
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
<% password_digest = BCrypt::Password.create("password") %>
|
||||
|
||||
one:
|
||||
email_address: one@example.com
|
||||
password_digest: <%= password_digest %>
|
||||
|
||||
two:
|
||||
email_address: two@example.com
|
||||
password_digest: <%= password_digest %>
|
||||
Loading…
Add table
Add a link
Reference in a new issue