# |
Apr 30th 2017, 08:53 |
spriz |
@admad could I be using the wrong scopes? :thinking_face: |
# |
Apr 30th 2017, 08:51 |
spriz |
not sure how exactly though, feeling weird just to use the first email provided :thinking_face: |
# |
Apr 30th 2017, 08:51 |
spriz |
yeah, that's where I'll start :slightly_smiling_face: |
# |
Apr 30th 2017, 08:50 |
admad |
The issue would have to be handled in phpleague's oauth2 client lib |
# |
Apr 30th 2017, 08:50 |
spriz |
will go into the rabbit holy, it seems like some edge case |
# |
Apr 30th 2017, 08:50 |
admad |
Don't think any oauth lib accounts for such case |
# |
Apr 30th 2017, 08:50 |
spriz |
I made an issue here @admad with how the data looks, but I'm unsure where this issue actually occur :) https://github.com/UseMuffin/OAuth2/issues/16 |
# |
Apr 30th 2017, 08:49 |
admad |
@spriz that's really strange, have never encountered something like that. |
# |
Apr 30th 2017, 08:35 |
spriz |
Anyone used some of the google oauth login featuers? I'm wondering why I get an array of `emails` while `email` is just null :thinking_face: |
# |
Apr 30th 2017, 06:26 |
metoyoko |
@loginews if you allow me, why not. I want to help also, its also challenging. |
# |
Apr 30th 2017, 01:53 |
theskillwithin |
Anyone looking for a job in SLC? Feel free to PM me for more details or to get in contact with our recuiter |
# |
Apr 30th 2017, 01:11 |
flashios09 |
`DateType::$dateTimeClass = ‘App\I18n\Time’;` |
# |
Apr 30th 2017, 01:11 |
flashios09 |
i just add this line to bootstrap.php and it works now |
# |
Apr 30th 2017, 01:11 |
flashios09 |
@pc-world thanks, i didn’t notice that cake has a new DateType class |
# |
Apr 30th 2017, 01:03 |
flashios09 |
and `Cake\I18n\Time` not `Cake\I18n\Date` |
# |
Apr 30th 2017, 01:03 |
flashios09 |
before i have `App\I18n\Time` not `App\I18n\Date` |
# |
Apr 30th 2017, 00:58 |
pc-world |
flashios09: according to https://book.cakephp.org/3.0/en/core-libraries/time.html, cake switched the date/time library in 3.2 |
# |
Apr 30th 2017, 00:56 |
flashios09 |
now it’s always `Cake\I18n\Date` not `App\I18n\Date` :( |
# |
Apr 30th 2017, 00:55 |
flashios09 |
``` ``` |
# |
Apr 30th 2017, 00:55 |
flashios09 |
when i get a datetime field from database, i have something like this |
# |
Apr 30th 2017, 00:54 |
flashios09 |
before it works |
# |
Apr 30th 2017, 00:53 |
flashios09 |
i add also this line `DateTimeType::$dateTimeClass = 'App\I18n\Time';` to `config/bootstrap.php` |
# |
Apr 30th 2017, 00:52 |
flashios09 |
i extended the default Cake\I18n\Date class and add some custom methods |
# |
Apr 30th 2017, 00:52 |
flashios09 |
hi @markstory, i have a problem with Cake\I18n\Date after updating the framework from 3.1 to 3.2 |
# |
Apr 29th 2017, 21:28 |
pedroseco |
Can we manipulate data from one plugin from another using Events? |
# |
Apr 29th 2017, 21:28 |
pedroseco |
Hi. |
# |
Apr 29th 2017, 19:44 |
temp1029 |
@admad thanks for the advice, I created the custom authentication object then found the docs for custom finder method, lol, so I redid it using that instead |
# |
Apr 29th 2017, 19:38 |
admad |
@temp1029 A custom authenticate object sounds good. Depending on what extra checks you need, you could just use FormAuthenticate with custom finder method. |
# |
Apr 29th 2017, 17:18 |
temp1029 |
If I want to make domain name based login (meaning multiple domains pointing to the same install of cake, but someone can only login using credentials associated with the domain they are accessing it from), should I put that code in a custom authenticate object? I think so but just want to make sure I'm thinking of it right... |
# |
Apr 29th 2017, 17:18 |
temp1029 |
Hey all |
# |
Apr 29th 2017, 17:11 |
loginews |
and param.id is equal to 1 for the one and only record which the param table contains. |
# |
Apr 29th 2017, 17:10 |
loginews |
users.param_id is equal to 1 for all records |
# |
Apr 29th 2017, 17:10 |
loginews |
there I have one field param.ADDRESS1 which has to be simultaneously updated. |
# |
Apr 29th 2017, 17:09 |
loginews |
If you get in, click on the toolbox icon... it will edit the Users table. |
# |
Apr 29th 2017, 17:07 |
loginews |
the codes are here: https://gist.github.com/loginews/78dbc099fe1689332c299002d361f472 |
# |
Apr 29th 2017, 17:07 |
loginews |
correct: http://erp.loginonline.net/execlub/businessaccounting |
# |
Apr 29th 2017, 17:06 |
chris-andre |
Right. So when you update a record, a record in an associated table is created. |
# |
Apr 29th 2017, 17:01 |
loginews |
otherwise my cakephp app is working. |
# |
Apr 29th 2017, 17:01 |
loginews |
either there is no effect, or a record is added in the associated table. |
# |
Apr 29th 2017, 17:00 |
loginews |
I have spent the day understanding this hasOne ... could not make it work. |
# |
Apr 29th 2017, 16:59 |
loginews |
a record in a table |