# |
Jul 19th 2018, 20:41 |
abdualelah.mdy |
thanks for help |
# |
Jul 19th 2018, 20:41 |
abdualelah.mdy |
i will try |
# |
Jul 19th 2018, 20:40 |
styks1987 |
I've got to head out, but maybe removing the form part and submitting values directly might also help |
# |
Jul 19th 2018, 20:39 |
styks1987 |
I wonder if you need to alias 'username' and 'password' |
# |
Jul 19th 2018, 20:35 |
abdualelah.mdy |
hashed |
# |
Jul 19th 2018, 20:35 |
abdualelah.mdy |
yes |
# |
Jul 19th 2018, 20:35 |
styks1987 |
Are you encrypting the password? |
# |
Jul 19th 2018, 20:32 |
abdualelah.mdy |
i did all of this but all i get is wrong password or username |
# |
Jul 19th 2018, 20:31 |
abdualelah.mdy |
File uploaded https://cakesf.slack.com/files/UBSRFQFLP/FBTJSQHMH/-.php / https://slack-files.com/T053DPNCM-FBTJSQHMH-90417b36eb |
# |
Jul 19th 2018, 20:30 |
abdualelah.mdy |
File uploaded https://cakesf.slack.com/files/UBSRFQFLP/FBT6C7NM7/-.php / https://slack-files.com/T053DPNCM-FBT6C7NM7-5dd40b8241 |
# |
Jul 19th 2018, 20:28 |
styks1987 |
https://book.cakephp.org/3.0/en/controllers/components/authentication.html#customizing-find-query |
# |
Jul 19th 2018, 20:28 |
styks1987 |
If you want to override the database fields you will need to override findAuth function |
# |
Jul 19th 2018, 20:27 |
styks1987 |
when configuring the component you can set the fields |
# |
Jul 19th 2018, 20:26 |
styks1987 |
https://book.cakephp.org/3.0/en/controllers/components/authentication.html#configuring-authentication-handlers |
# |
Jul 19th 2018, 20:26 |
styks1987 |
form auth defaults to username |
# |
Jul 19th 2018, 20:16 |
abdualelah.mdy |
Why is auth component is forcing me to use username column in my table ? is there any way to go around it ? |
# |
Jul 19th 2018, 20:14 |
abdualelah.mdy |
hello everyone |
# |
Jul 19th 2018, 19:36 |
saeideng |
IIRC elasticsearch plugin needs new tag |
# |
Jul 19th 2018, 19:35 |
saeideng |
i mean 3.5 :slightly_smiling_face: |
# |
Jul 19th 2018, 19:35 |
saeideng |
looks you are using cake 3.6 |
# |
Jul 19th 2018, 19:35 |
saeideng |
asdfgh |
# |
Jul 19th 2018, 18:44 |
okelet |
Where have you seen that method? |
# |
Jul 19th 2018, 18:40 |
asdfgh |
anyone ? |
# |
Jul 19th 2018, 18:11 |
asdfgh |
? |
# |
Jul 19th 2018, 18:11 |
asdfgh |
does it not work with php 7.2 |
# |
Jul 19th 2018, 18:07 |
asdfgh |
what is this ?? |
# |
Jul 19th 2018, 18:07 |
asdfgh |
i get [BadMethodCallException] Unknown method "getRepository" |
# |
Jul 19th 2018, 18:07 |
asdfgh |
i am using cakephp-elasticsearch plugin |
# |
Jul 19th 2018, 18:07 |
asdfgh |
hello |
# |
Jul 19th 2018, 17:37 |
okelet |
Hi, I have extended ADmad/JwtAuth.Jwt overriding the getUser method. If in that method I return an entity, I always get 401 unauthorized; if I return the entity as an array, it works fine. I want to return an entity because I would like to use some methods on the class. Why does this happen if I return an entity? |
# |
Jul 19th 2018, 17:09 |
rudy1976s |
I am trying towrite a restful controller with json response: what is the best ay to pass parameters? I'd like to have something like /controller/action/query_limit and so on |
# |
Jul 19th 2018, 17:08 |
rudy1976s |
good afternoon |
# |
Jul 19th 2018, 17:07 |
bernat |
Hi. I have an app rule in my model that shows a message that is not associated to any field but to the whole entity. It's misleading that it shows for a field. Is there a way to display it other than related to a field? |
# |
Jul 19th 2018, 16:36 |
flavius |
screw you, mark :P |
# |
Jul 19th 2018, 16:35 |
dereuromark |
Oh, you didnt mean me :P oops |
# |
Jul 19th 2018, 16:35 |
dereuromark |
but with cakebox you would be too :slightly_smiling_face: |
# |
Jul 19th 2018, 16:35 |
dereuromark |
linux ubuntu |
# |
Jul 19th 2018, 16:32 |
flavius |
from both those pictures it looks like you dont have that or dont use bookmarks on chrome :P |
# |
Jul 19th 2018, 16:32 |
flavius |
hey btw, if you press ctrl+shift+b the bookmarks are integrated in all tabs |
# |
Jul 19th 2018, 16:30 |
flavius |
you on windows or linux? |
# |
Jul 19th 2018, 16:29 |
josbeir |
https://bugs.chromium.org/p/chromium/issues/detail?id=865253 |