# |
Jul 19th 2018, 13:24 |
abdualelah.mdy |
i have configured fields name still not working |
# |
Jul 19th 2018, 13:24 |
neon1024 |
Same way I have to because I login with email + password |
# |
Jul 19th 2018, 13:24 |
neon1024 |
You’ll have to tell the AuthComponent about your setup |
# |
Jul 19th 2018, 13:24 |
neon1024 |
But not how you expect. |
# |
Jul 19th 2018, 13:24 |
neon1024 |
Yes it will. |
# |
Jul 19th 2018, 13:24 |
abdualelah.mdy |
? |
# |
Jul 19th 2018, 13:24 |
abdualelah.mdy |
so $this->Auth->identify(); will not work |
# |
Jul 19th 2018, 13:23 |
neon1024 |
Or just use a custom finder, which is probably the easiest solution now I think about it |
# |
Jul 19th 2018, 13:23 |
neon1024 |
If it’s just fields, you can configure that in the `fields` key of the AuthComponent configuration |
# |
Jul 19th 2018, 13:22 |
neon1024 |
Probably a custom authentication adapter |
# |
Jul 19th 2018, 13:22 |
neon1024 |
But you’ll have to write all the code to get your data store working with the AuthComponent |
# |
Jul 19th 2018, 13:22 |
neon1024 |
You do not need a Users table |
# |
Jul 19th 2018, 13:22 |
itmpls |
so you don't have individual records that can login to a team? |
# |
Jul 19th 2018, 13:21 |
abdualelah.mdy |
do I have to have users table in order to use auth component? i have teams instead |
# |
Jul 19th 2018, 13:21 |
saeideng |
hmm |
# |
Jul 19th 2018, 13:20 |
itmpls |
my name is chka chka slim shady |
# |
Jul 19th 2018, 13:19 |
flavius |
who? |
# |
Jul 19th 2018, 13:19 |
lorenzo |
wat |
# |
Jul 19th 2018, 13:18 |
itmpls |
^ huh? |
# |
Jul 19th 2018, 13:03 |
Guest16190 |
exit |
# |
Jul 19th 2018, 13:03 |
Guest16190 |
join |
# |
Jul 19th 2018, 13:02 |
Guest16190 |
where's the all cook of cakephp |
# |
Jul 19th 2018, 13:02 |
Guest16190 |
hello |
# |
Jul 19th 2018, 13:02 |
abc |
is there anyone |
# |
Jul 19th 2018, 13:01 |
abc |
hello |
# |
Jul 19th 2018, 12:52 |
flavius |
you're keeping the assets hostage |
# |
Jul 19th 2018, 12:52 |
flavius |
early beta that only works for you :) |
# |
Jul 19th 2018, 12:52 |
dereuromark |
first getting ideas out there for feedback on the functionality |
# |
Jul 19th 2018, 12:51 |
dereuromark |
thought as in todo :) it is an early beta |
# |
Jul 19th 2018, 12:45 |
flavius |
also imho, if you provide a "backend" (which is what you did, this is not CLI) you should provide the assets as well |
# |
Jul 19th 2018, 12:45 |
flavius |
i see you merged my PR regarding windows paths, you should check if it still works on your box (linux) |
# |
Jul 19th 2018, 12:44 |
flavius |
hard to do that when the templates you provided include the missing asset's code |
# |
Jul 19th 2018, 12:43 |
dereuromark |
i thought about providing a asset less fallback. no dependencies then. only opt in |
# |
Jul 19th 2018, 12:43 |
flavius |
i don't know what lib you used for that |
# |
Jul 19th 2018, 12:43 |
flavius |
but im missing the modal |
# |
Jul 19th 2018, 12:42 |
flavius |
File uploaded https://cakesf.slack.com/files/U75U0UMR9/FBSLR88BS/image.png / https://slack-files.com/T053DPNCM-FBSLR88BS-cebfed8cec - currently i took them from my own plugin :smile: |
# |
Jul 19th 2018, 12:41 |
flavius |
include all the assets as well (jquery and font-awesome) |
# |
Jul 19th 2018, 12:41 |
flavius |
you should fix the layout part yourself, i can't make a PR for that |
# |
Jul 19th 2018, 12:41 |
dereuromark |
a video or screencast |
# |
Jul 19th 2018, 12:40 |
dereuromark |
@flavius Would be cool to have some nice looking demo once all works |
# |
Jul 19th 2018, 12:35 |
abdualelah.mdy |
File uploaded https://cakesf.slack.com/files/UBSRFQFLP/FBUDA3XCP/-.php / https://slack-files.com/T053DPNCM-FBUDA3XCP-41cf0907e8 |