# |
Dec 22nd 2019, 15:20 |
luizcmarin |
@ndm "or disable/exchange the layout for your login action/template.". How? |
# |
Dec 22nd 2019, 15:09 |
ndm |
Either hide them based on the authentication status (https://book.cakephp.org/authentication/2/en/view-helper.html), or disable/exchange the layout for your login action/template. |
# |
Dec 22nd 2019, 15:00 |
luizcmarin |
please |
# |
Dec 22nd 2019, 14:38 |
luizcmarin |
I just want to leave the login page clean. |
# |
Dec 22nd 2019, 14:38 |
luizcmarin |
I followed all the instructions for authentication on cake4.0. However, the login page opens with all menus. How to remove them? |
# |
Dec 22nd 2019, 11:20 |
challgren |
Ewww table name is contact_us and cake bakes ContactU as the entity |
# |
Dec 22nd 2019, 07:20 |
md.islam11 |
I dont have idea |
# |
Dec 22nd 2019, 07:20 |
md.islam11 |
My PM wants Checksum of my project. What is the procedure? |
# |
Dec 22nd 2019, 07:19 |
md.islam11 |
. |
# |
Dec 22nd 2019, 07:19 |
md.islam11 |
hello |
# |
Dec 22nd 2019, 01:09 |
challgren |
And id look in https://github.com/cakephp/authentication/tree/master/tests |
# |
Dec 22nd 2019, 01:09 |
challgren |
Did you try looking at https://book.cakephp.org/authentication/2/en/index.html |
# |
Dec 22nd 2019, 01:04 |
luizcmarin |
@challgren |
# |
Dec 22nd 2019, 01:04 |
luizcmarin |
I don't need much. Just login, logout, permissions to add, update, delete, print, stuff like that. Simple. |
# |
Dec 22nd 2019, 01:02 |
luizcmarin |
`` The old AuthComponent way is. I havent tried the latest version with cake4 yet. But I like it because it has oauth, superuser, rabc, otp built in `` -> dereuromark or cakedc ? |
# |
Dec 22nd 2019, 00:59 |
challgren |
The old AuthComponent way is. I havent tried the latest version with cake4 yet. But I like it because it has oauth, superuser, rabc, otp built in |
# |
Dec 22nd 2019, 00:58 |
luizcmarin |
is easy? |
# |
Dec 22nd 2019, 00:58 |
challgren |
Maybe https://github.com/dereuromark/cakephp-tinyauth/tree/cake4 could help yah |
# |
Dec 22nd 2019, 00:58 |
luizcmarin |
never used. |
# |
Dec 22nd 2019, 00:57 |
challgren |
Plus I prefer CakeDC/Users as it has everything I need built in |
# |
Dec 22nd 2019, 00:54 |
challgren |
Yeah thats why Im holding off for a bit. The docs seem really incomplete and plus for the sites I build a lot of plugins dont support 4.x yet |
# |
Dec 22nd 2019, 00:52 |
luizcmarin |
I'm doing it step by step for the third time, following the tutorial and making corrections to it. It's hard ... |
# |
Dec 22nd 2019, 00:50 |
challgren |
Im not sure with the new authentication plugin, I havent switched to that stuff yet |
# |
Dec 22nd 2019, 00:50 |
luizcmarin |
@challgren https://github.com/cakephp/docs/pull/6349/commits/a4f2a0da7301d15db9226ea971e080ebe54818bb |
# |
Dec 22nd 2019, 00:47 |
luizcmarin |
yes |
# |
Dec 22nd 2019, 00:46 |
challgren |
Do you have `use Authentication\Middleware\AuthenticationMiddleware` on top of your file? |
# |
Dec 22nd 2019, 00:46 |
luizcmarin |
I already added the fix |
# |
Dec 22nd 2019, 00:45 |
luizcmarin |
composer require cakephp/authentication. install 2.0.2 composer require cakephp/authentication:^2.0 install 2.0.0 |
# |
Dec 22nd 2019, 00:44 |
challgren |
Did you run `composer require cakephp/authentication:^2.0` |
# |
Dec 22nd 2019, 00:44 |
luizcmarin |
Undefined method 'configAuth'. inteliphense |
# |
Dec 22nd 2019, 00:44 |
luizcmarin |
Undefined type 'Authentication\Middleware\AuthenticationMiddleware'. - inteliphense |
# |
Dec 22nd 2019, 00:43 |
luizcmarin |
I can't get out of this point: "https://book.cakephp.org/4/en/tutorials-and-examples/cms/authentication-plugin.html#adding-login" which correct sentence to "-> add (new \ Authentication \ Middleware \ AuthenticationMiddleware ($ this-> configAuth ()));" |
# |
Dec 21st 2019, 23:49 |
luizcmarin |
I will clean and start again, third try, step by step. |
# |
Dec 21st 2019, 23:43 |
luizcmarin |
ok |
# |
Dec 21st 2019, 23:43 |
waspinator |
see if you my example app can help you get started @luizcmarin https://github.com/waspinator/cakephp-quickstart/blob/authorization/app/src/Model/Entity/User.php |
# |
Dec 21st 2019, 23:37 |
luizcmarin |
I am following the tutorial to add authentication and found some issues. https://book.cakephp.org/4/en/tutorials-and-examples/cms/authentication-plugin.html#adding-password-hashing in the example ´´ return (new DefaultPasswordHasher ()) -> hash ($ password); ´´ I get: `` Undefined type 'Authentication \ PasswordHasher \ DefaultPasswordHasher'. `` |
# |
Dec 21st 2019, 21:07 |
teruss |
Hi! Is this an appropriate place to ask for help? I'm tinkering with CakePHP and have encountered a challenge I can't solve. |
# |
Dec 21st 2019, 19:53 |
luizcmarin |
thanks you @jimbo2150 |
# |
Dec 21st 2019, 12:20 |
dsar |
Just ask ;) |
# |
Dec 21st 2019, 12:02 |
kiwi_3 |
I need your help to resolve a problem, can someone help me ? |
# |
Dec 21st 2019, 12:02 |
kiwi_3 |
Hello, it's my first on IRC of CakePHP. |