# |
Mar 31st 2019, 19:57 |
abdualelah.mdy |
use Cake\Auth\DefaultPasswordHasher; |
# |
Mar 31st 2019, 19:56 |
adithya |
thank you, yes im hashing them :slightly_smiling_face: |
# |
Mar 31st 2019, 19:55 |
abdualelah.mdy |
if((new DefaultPasswordHasher)->check(password from request,hashed password in table)){ |
# |
Mar 31st 2019, 19:53 |
abdualelah.mdy |
Are you hashing them? |
# |
Mar 31st 2019, 19:53 |
adithya |
I'm getting my email and password in an api, how do i check if they match? |
# |
Mar 31st 2019, 19:53 |
abdualelah.mdy |
Property _transportConfig does not exist |
# |
Mar 31st 2019, 19:52 |
abdualelah.mdy |
more problem unfortunately |
# |
Mar 31st 2019, 19:45 |
challgren |
You need that line |
# |
Mar 31st 2019, 19:45 |
challgren |
https://github.com/cakephp/app/blob/master/config/bootstrap.php#L43 |
# |
Mar 31st 2019, 19:45 |
abdualelah.mdy |
Class 'TransportFactory' not found |
# |
Mar 31st 2019, 19:43 |
challgren |
Thats the updated cakephp/app with that fixed |
# |
Mar 31st 2019, 19:43 |
challgren |
https://github.com/cakephp/app/blob/master/config/bootstrap.php#L152 |
# |
Mar 31st 2019, 19:41 |
abdualelah.mdy |
I changed to TransportFactory::setConfig(Configure::consume('EmailTransport')) but I have problem too |
# |
Mar 31st 2019, 19:40 |
abdualelah.mdy |
149 Email::setConfigTransport(Configure::consume('EmailTransport')); |
# |
Mar 31st 2019, 19:39 |
abdualelah.mdy |
Deprecated (16384): Email::setConfigTransport() is deprecated. Use TransportFactory::setConfig() instead. - C:\xampp\htdocs\bookedServer\config\bootstrap.php, line: 149 You can disable deprecation warnings by setting `Error.errorLevel` to `E_ALL and ~E_USER_DEPRECATED` in your config/app.php. [CORE\src\Core\functions.php, line 311] |
# |
Mar 31st 2019, 19:39 |
abdualelah.mdy |
I have this problem |
# |
Mar 31st 2019, 19:30 |
challgren |
No worries, anytime you get something like “cakedc/users 8.4.0 requires cakephp/cakephp ^3.7 ” it’s probably due to your composer.json containing a lower version |
# |
Mar 31st 2019, 19:30 |
abdualelah.mdy |
it is working now. my thanks again |
# |
Mar 31st 2019, 19:27 |
challgren |
And 3.8 will probably be out in a month or so. Beta 1 was already released yesterday |
# |
Mar 31st 2019, 19:26 |
challgren |
Mainly deprecations https://book.cakephp.org/3.0/en/appendices/3-7-migration-guide.html |
# |
Mar 31st 2019, 19:26 |
challgren |
3.6 and 3.7 are compatible so you really shouldnt need to fix much |
# |
Mar 31st 2019, 19:25 |
abdualelah.mdy |
thanks a lot<3 |
# |
Mar 31st 2019, 19:25 |
challgren |
composer require cakephp/cakephp:^3.7 |
# |
Mar 31st 2019, 19:24 |
abdualelah.mdy |
ok . but how ? |
# |
Mar 31st 2019, 19:24 |
challgren |
There’s older versions of cakedc/users but they havent received bug fixes/security updates so it would be best to upgrade your site to 3.7 |
# |
Mar 31st 2019, 19:23 |
abdualelah.mdy |
but how to install for my version |
# |
Mar 31st 2019, 19:23 |
challgren |
Then you need to upgrade to 3.7 to use cakedc/users |
# |
Mar 31st 2019, 19:22 |
abdualelah.mdy |
yes it is 3.6 |
# |
Mar 31st 2019, 19:22 |
challgren |
check your composer.json for “cakephp/cakephp”: “^3.6" or something like that |
# |
Mar 31st 2019, 19:22 |
challgren |
You cakephp/cakephp version is less than 3.7 |
# |
Mar 31st 2019, 19:21 |
slackebot2 |
<abdualelah.mdy> |
# |
Mar 31st 2019, 19:21 |
challgren |
whats the message? |
# |
Mar 31st 2019, 19:19 |
abdualelah.mdy |
but I'm getting this message |
# |
Mar 31st 2019, 19:19 |
abdualelah.mdy |
i am trying to install cakedc/users |
# |
Mar 31st 2019, 19:18 |
abdualelah.mdy |
hello |
# |
Mar 31st 2019, 18:09 |
adithya |
Hi, on the webpage im building i collect some data before the user signs up or logs in, how would i save this data to my database, do i add this data to the sign up /login api would that be a good practice? or is there any other way i could achieve this? |
# |
Mar 31st 2019, 10:07 |
edgaras.jan |
https://www.php.net/manual/en/function.array-diff.php |
# |
Mar 31st 2019, 09:33 |
birdy247 |
because it exists in array 2 |
# |
Mar 31st 2019, 09:32 |
birdy247 |
In this example, what is the best way to remove the 108,116 item from Array1 |
# |
Mar 31st 2019, 09:32 |
slackebot2 |
<birdy247> |
# |
Mar 31st 2019, 01:49 |
challgren |
https://github.com/cakephp/cakephp/releases/tag/3.8.0-beta1 |