# |
Sep 20th 2019, 13:38 |
daniel.upshaw |
I was using `bin/cake server` yesterday :zany_face: |
# |
Sep 20th 2019, 13:38 |
daniel.upshaw |
Setting up |
# |
Sep 20th 2019, 13:38 |
ricksaccous |
@luizcmarin the user can just get rid of whatever he wrote and retype it |
# |
Sep 20th 2019, 13:38 |
daniel.upshaw |
That's what I'm trying now too |
# |
Sep 20th 2019, 13:38 |
rochasmarcelo |
using a docker env |
# |
Sep 20th 2019, 13:37 |
ricksaccous |
@luizcmarin that's a standard browser feature, if you make field type="password" it doesn't show the password you are typing in |
# |
Sep 20th 2019, 13:37 |
daniel.upshaw |
That error is really darn vague though, it was clearing failing POST validation on my end |
# |
Sep 20th 2019, 13:35 |
daniel.upshaw |
Sh%t -- that is probably exactly the reason |
# |
Sep 20th 2019, 13:34 |
daniel.upshaw |
Ah huh, interesting! I will tinker with that as well... are you using `bin/cake server`? Docker? Vagrant? Etc? |
# |
Sep 20th 2019, 13:33 |
rochasmarcelo |
But in my tests the issue is related to https vs http |
# |
Sep 20th 2019, 13:33 |
rochasmarcelo |
by vendor cleanup I mean 'rm -rf vendor/' |
# |
Sep 20th 2019, 13:32 |
daniel.upshaw |
So you were working on it before, what version of Cake did you have in your `composer.json` at the time? |
# |
Sep 20th 2019, 13:28 |
josbeir |
readme of 3 links to develop but cake-4-bs-4 seems to have newer commit s |
# |
Sep 20th 2019, 13:28 |
josbeir |
hmm, what branch should be used for bs4 with the bootstrap-ui plugin |
# |
Sep 20th 2019, 13:26 |
daniel.upshaw |
Or any more info I can give about what I find from my end |
# |
Sep 20th 2019, 13:26 |
daniel.upshaw |
Let me know what I can do to research, tinker, test.. I'm not sure what you mean by vendor cleanup |
# |
Sep 20th 2019, 13:22 |
daniel.upshaw |
Or deleting vendor colder? |
# |
Sep 20th 2019, 13:22 |
rochasmarcelo |
checking the CakePHP migrations guide |
# |
Sep 20th 2019, 13:22 |
daniel.upshaw |
Ahhh. Vendor cleanup? Like `composer dump-autoload`? |
# |
Sep 20th 2019, 13:22 |
rochasmarcelo |
I got the same error after vendor cleanup |
# |
Sep 20th 2019, 13:21 |
slackebot |
<luizcmarin> |
# |
Sep 20th 2019, 13:19 |
daniel.upshaw |
I had to add `"minimum-stability": "dev"`, to `composer.json` in order to install from develop branch |
# |
Sep 20th 2019, 13:17 |
daniel.upshaw |
I'll follow along as well, this was from a fresh install of the develop branch |
# |
Sep 20th 2019, 13:16 |
daniel.upshaw |
Thanks so much |
# |
Sep 20th 2019, 13:15 |
rochasmarcelo |
Okay, installing a demo app to check it |
# |
Sep 20th 2019, 13:15 |
daniel.upshaw |
Exactly, I created that :) |
# |
Sep 20th 2019, 13:14 |
rochasmarcelo |
Was you who created it? |
# |
Sep 20th 2019, 13:14 |
rochasmarcelo |
okay, I see this issue https://github.com/CakeDC/users/issues/818 |
# |
Sep 20th 2019, 13:14 |
daniel.upshaw |
I'm using the new middleware version, the develop branch which I'm told is technically ready |
# |
Sep 20th 2019, 13:13 |
daniel.upshaw |
I haven't been able to solve it yet @rochasmarcelo, thanks for asking |
# |
Sep 20th 2019, 12:35 |
rochasmarcelo |
@daniel.upshaw have you solved this? Which version of CakeDC/Users are you using? |
# |
Sep 20th 2019, 11:51 |
chupa |
where would i look for it? in the auth component? |
# |
Sep 20th 2019, 11:51 |
chupa |
auth |
# |
Sep 20th 2019, 11:43 |
neon1024 |
@chupa (IRC) I’d use a custom finder in your Auth config. Not sure how Croogo implements that though |
# |
Sep 20th 2019, 11:42 |
neon1024 |
`Undefined class constant 'LIVE'` :,( |
# |
Sep 20th 2019, 11:41 |
chupa |
in licence table in DB. Anyone got an idea maybe how it can be done? I looked at custom validators but I can't figure out how to check against a field from another table |
# |
Sep 20th 2019, 11:41 |
chupa |
hey, another Croogo question. I have a login form whose method does $this->Auth->identify();. It checks if the user can login and throws an error if the username and password are not found and that's all ok. But, I need an additional check against a field in another table. Basically, I need to check if that user still has an active licence which is |
# |
Sep 20th 2019, 11:40 |
neon1024 |
Unsure if helper class properties are available even then it would be `$this->Status::AWAITING` right? |
# |
Sep 20th 2019, 11:39 |
neon1024 |
Or would I need a custom View class for that kinda thing |
# |
Sep 20th 2019, 11:39 |
neon1024 |
Can I kinda, inject my constants from db config into View somehow? |
# |
Sep 20th 2019, 11:38 |
neon1024 |
It would be much nicer to use a const right? |