Let's say you have 2 models. App/Models/User and App/Models/Admin
Inside your config/auth.js, you can create multiple authenticators for admin and user.
{
user: {
serializer: 'lucid',
model: 'App/Models/User',
scheme: 'session',| <html> | |
| <head> | |
| <title>Quebra de linha.</title> | |
| </head> | |
| <body> | |
| Utilizando a tag <br /> para quebra de linha. | |
| </body> | |
| </html> |
| <? | |
| //Conexão com Banco de Dados. | |
| class Conexao{ | |
| private $host = 'localhost'; | |
| private $dbname = 'db_controle'; | |
| private $user = 'root'; | |
| private $password = ''; |
| { | |
| "extensions.ignoreRecommendations": true, | |
| "workbench.startupEditor": "newUntitledFile", | |
| "debug.console.fontFamily": "Fira Code Retina", | |
| "editor.fontFamily": " 'Fira Code Retina' , Consolas, 'Courier New', monospace", | |
| "window.zoomLevel": 0, | |
| "editor.fontLigatures": false, //Evita que arrow functions vire setas comuns. | |
| "editor.fontSize": 11, | |
| "editor.lineHeight": 15, | |
| "editor.formatOnSave": true, |
People
:bowtie: |
😄 :smile: |
😆 :laughing: |
|---|---|---|
😊 :blush: |
😃 :smiley: |
:relaxed: |
😏 :smirk: |
😍 :heart_eyes: |
😘 :kissing_heart: |
😚 :kissing_closed_eyes: |
😳 :flushed: |
😌 :relieved: |
😆 :satisfied: |
😁 :grin: |
😉 :wink: |
😜 :stuck_out_tongue_winking_eye: |
😝 :stuck_out_tongue_closed_eyes: |
😀 :grinning: |
😗 :kissing: |
😙 :kissing_smiling_eyes: |
😛 :stuck_out_tongue: |