adds info to readme about the seed verified user
This commit is contained in:
committed by
Juanjo Bazán
parent
8d59e3d84f
commit
c5a1b3d1ee
@@ -61,10 +61,10 @@ You can use the default admin user from the seeds file:
|
||||
**user:** admin@madrid.es
|
||||
**pass:** 12345678
|
||||
|
||||
But for some actions like voting, you will need to verify him, opening a console with `rails console` and then:
|
||||
```
|
||||
User.first.update_attributes(verified_at: Date.today, residence_verified_at: Date.today, level_two_verified_at: Date.today)
|
||||
```
|
||||
But for some actions like voting, you will need a verified user, the seeds file also includes one:
|
||||
|
||||
**user:** verified@madrid.es
|
||||
**pass:** 12345678
|
||||
|
||||
### OAuth
|
||||
|
||||
|
||||
@@ -60,10 +60,11 @@ Puedes usar el usuario administrador por defecto del fichero seeds:
|
||||
**user:** admin@madrid.es
|
||||
**pass:** 12345678
|
||||
|
||||
Pero para ciertas acciones, como apoyar, necesitarás verificarle, abre una consola con `rails console` y escribe:
|
||||
```
|
||||
User.first.update_attributes(verified_at: Date.today, residence_verified_at: Date.today, level_two_verified_at: Date.today)
|
||||
```
|
||||
Pero para ciertas acciones, como apoyar, necesitarás un usuario verificado, el fichero seeds proporciona uno:
|
||||
|
||||
**user:** verified@madrid.es
|
||||
**pass:** 12345678
|
||||
|
||||
|
||||
### OAuth
|
||||
|
||||
|
||||
Reference in New Issue
Block a user