# |
Feb 11th 2020, 13:14 |
challgren |
I made it redirect to login |
# |
Feb 11th 2020, 13:14 |
rochasmarcelo |
I'll need to check this |
# |
Feb 11th 2020, 13:13 |
rochasmarcelo |
if '/' is unprotected it should not redirect to login |
# |
Feb 11th 2020, 13:11 |
challgren |
Yep, my / is unprotected and redirects to login |
# |
Feb 11th 2020, 13:11 |
rochasmarcelo |
not the protected page configured |
# |
Feb 11th 2020, 13:11 |
rochasmarcelo |
Right, cause now the user only can access /login |
# |
Feb 11th 2020, 13:07 |
sebastian.krzewinski. |
:+1: |
# |
Feb 11th 2020, 13:05 |
admad |
read my previous statement again |
# |
Feb 11th 2020, 13:04 |
sebastian.krzewinski. |
then app is useless? and i should use only app local? |
# |
Feb 11th 2020, 13:03 |
admad |
@sebastian.krzewinski. the idea is to have all your common config in app.php and environment specific config app_local.php |
# |
Feb 11th 2020, 13:03 |
sebastian.krzewinski. |
if i dellete/rename app local cake dont work |
# |
Feb 11th 2020, 13:02 |
sebastian.krzewinski. |
i know |
# |
Feb 11th 2020, 13:01 |
challgren |
appl_local overrides it |
# |
Feb 11th 2020, 13:01 |
sebastian.krzewinski. |
and still use app local |
# |
Feb 11th 2020, 13:01 |
sebastian.krzewinski. |
why app.php isnt work if i edit it to my database |
# |
Feb 11th 2020, 12:53 |
challgren |
@rochasmarcelo so that doesnt work when the user isnt logged in |
# |
Feb 11th 2020, 12:52 |
admad |
@sebastian.krzewinski. that's what the tutorial is for, to you show you to use those plugins :) |
# |
Feb 11th 2020, 12:52 |
challgren |
It didnt work for me |
# |
Feb 11th 2020, 12:52 |
sebastian.krzewinski. |
yea but i really dont know how to use this plugins, i will try again |
# |
Feb 11th 2020, 12:52 |
steinkel |
that works too |
# |
Feb 11th 2020, 12:51 |
challgren |
But thats what I did for now |
# |
Feb 11th 2020, 12:51 |
challgren |
@steinkel I thought https://github.com/cakephp/debug_kit/pull/737 fixed it |
# |
Feb 11th 2020, 12:51 |
admad |
the latter shows use of the new auth plugins |
# |
Feb 11th 2020, 12:50 |
admad |
@sebastian.krzewinski. the blog tutorial is a bit outdated in general, you can follow the CMS tutorial |
# |
Feb 11th 2020, 12:49 |
sebastian.krzewinski. |
https://book.cakephp.org/4/en/tutorials-and-examples/blog-auth-example/auth.html |
# |
Feb 11th 2020, 12:48 |
steinkel |
@challgren https://gist.github.com/steinkel/f02aeef0cef3397fae9d0e746806c7b0 to make DebugKit work |
# |
Feb 11th 2020, 12:47 |
admad |
@sebastian.krzewinski. which guides? |
# |
Feb 11th 2020, 12:47 |
challgren |
Yeah that does mess with debug kit but there was a fix but it didn't work for me |
# |
Feb 11th 2020, 12:46 |
steinkel |
^ also for DebugKit too |
# |
Feb 11th 2020, 12:46 |
challgren |
Yeah coming from 8.5 that's what I expect |
# |
Feb 11th 2020, 12:46 |
sebastian.krzewinski. |
Why are the guides on the site not up to date? |
# |
Feb 11th 2020, 12:46 |
rochasmarcelo |
It probably good to set a custom default in the users plugin, maybe to '/' url, what do you think? |
# |
Feb 11th 2020, 12:43 |
sebastian.krzewinski. |
Hi |
# |
Feb 11th 2020, 12:41 |
challgren |
Its PSR thing, not Cake |
# |
Feb 11th 2020, 12:41 |
lpj145 |
:,):,) |
# |
Feb 11th 2020, 12:41 |
challgren |
Im not digging request->getAttribute but I understand why |
# |
Feb 11th 2020, 12:37 |
challgren |
Ahh I got it working, forgot the prefix |
# |
Feb 11th 2020, 12:30 |
slackebot |
52525253D%25252525252525252525252525252525252Fsuper-admin%25252525252525252525252525252525252Fdashboard%25252525252525252525252525252525253Fredirect%25252525252525252525252525252525253D%2525252525252525252525252525252525252Fsuper-admin%2525252525252525252525252525252525252Ftenants` |
# |
Feb 11th 2020, 12:30 |
slackebot |
252525252525252Fsuper-admin%25252525252525252525252525252Fdashboard%25252525252525252525252525253Fredirect%25252525252525252525252525253D%2525252525252525252525252525252Fsuper-admin%2525252525252525252525252525252Fdashboard%2525252525252525252525252525253Fredirect%2525252525252525252525252525253D%252525252525252525252525252525252Fsuper-admin%252525252525252525252525252525252Fdashboard%252525252525252525252525252525253Fredirect%2525252525252525252525252 |
# |
Feb 11th 2020, 12:30 |
slackebot |
3Fredirect%252525252525252525253D%25252525252525252525252Fsuper-admin%25252525252525252525252Fdashboard%25252525252525252525253Fredirect%25252525252525252525253D%2525252525252525252525252Fsuper-admin%2525252525252525252525252Fdashboard%2525252525252525252525253Fredirect%2525252525252525252525253D%252525252525252525252525252Fsuper-admin%252525252525252525252525252Fdashboard%252525252525252525252525253Fredirect%252525252525252525252525253D%25252525252525 |
# |
Feb 11th 2020, 12:30 |
challgren |
Yeah that didnt work |