# |
Jul 19th 2018, 09:32 |
neon1024 |
Cake 2? |
# |
Jul 19th 2018, 09:32 |
josbeir |
$this->Auth->password() or something |
# |
Jul 19th 2018, 09:32 |
neon1024 |
https://book.cakephp.org/3.0/en/controllers/components/authentication.html#hashing-passwords |
# |
Jul 19th 2018, 09:32 |
josbeir |
ah |
# |
Jul 19th 2018, 09:32 |
blancessanchez30 |
using cakephp 2 |
# |
Jul 19th 2018, 09:32 |
josbeir |
$password = (new new DefaultPasswordHasher)->hash($password) is the prefered way. |
# |
Jul 19th 2018, 09:32 |
neon1024 |
https://www.phptherightway.com/#password_hashing |
# |
Jul 19th 2018, 09:31 |
neon1024 |
https://book.cakephp.org/3.0/en/tutorials-and-examples/cms/authentication.html#adding-password-hashing |
# |
Jul 19th 2018, 09:31 |
blancessanchez30 |
now, im curious of what will be the best method of hashing password |
# |
Jul 19th 2018, 09:31 |
blancessanchez30 |
and watched vid online that they've used authcomponent::password |
# |
Jul 19th 2018, 09:31 |
blancessanchez30 |
scurity hashing |
# |
Jul 19th 2018, 09:31 |
neon1024 |
https://github.com/cakephp/cakephp/blob/master/src/Auth/DefaultPasswordHasher.php#L47 |
# |
Jul 19th 2018, 09:31 |
blancessanchez30 |
i followed tutorial on cookbook and taught me that security is an option |
# |
Jul 19th 2018, 09:30 |
neon1024 |
@blancessanchez30 For generating passwords, use phps `password_hash()` which is what the core uses |
# |
Jul 19th 2018, 09:27 |
blancessanchez30 |
in passwords |
# |
Jul 19th 2018, 09:27 |
Martin` |
in a shell you can have multiple commands, but in a command, I guess it is only one? :P |
# |
Jul 19th 2018, 09:27 |
blancessanchez30 |
which is better authcomponent or security hash |
# |
Jul 19th 2018, 08:50 |
unclezoot |
morning, how do you use aliases within your shells? I'm getting conflicts shown ShellDispatcher::addShortPluginAliases() atm |
# |
Jul 19th 2018, 08:14 |
saeideng |
composer.json added |
# |
Jul 19th 2018, 08:13 |
saeideng |
`/app` does not changed from 2.6 except 1 or 2 line |
# |
Jul 19th 2018, 08:11 |
saeideng |
aha |
# |
Jul 19th 2018, 08:11 |
thuyhyvg |
It depends on my client. |
# |
Jul 19th 2018, 08:10 |
saeideng |
why? |
# |
Jul 19th 2018, 08:10 |
thuyhyvg |
yes, but I don't use version 3.* |
# |
Jul 19th 2018, 08:09 |
saeideng |
instead of 2.10 you can upgrade to 3 |
# |
Jul 19th 2018, 08:08 |
saeideng |
https://book.cakephp.org/2.0/en/appendices.html |
# |
Jul 19th 2018, 08:07 |
saeideng |
another change log is on cookbook |
# |
Jul 19th 2018, 08:07 |
thuyhyvg |
Thank you very much. |
# |
Jul 19th 2018, 08:07 |
thuyhyvg |
wow. I see. |
# |
Jul 19th 2018, 08:06 |
saeideng |
https://github.com/cakephp/cakephp/compare/2.6.13...2.10.11#files_bucket |
# |
Jul 19th 2018, 08:05 |
saeideng |
ok |
# |
Jul 19th 2018, 08:05 |
thuyhyvg |
it is 2.6.13. |
# |
Jul 19th 2018, 08:04 |
saeideng |
2.6.2? .... |
# |
Jul 19th 2018, 08:04 |
saeideng |
2.6.0? |
# |
Jul 19th 2018, 08:04 |
saeideng |
what is your old version |
# |
Jul 19th 2018, 08:03 |
saeideng |
@thuyhyvg you can see it in github |
# |
Jul 19th 2018, 08:01 |
thuyhyvg |
Thank you. |
# |
Jul 19th 2018, 08:01 |
josbeir |
i only give directions |
# |
Jul 19th 2018, 08:01 |
josbeir |
nah sorry |
# |
Jul 19th 2018, 08:00 |
thuyhyvg |
@josbeir Can you help me check changelogs between those versions ? |
# |
Jul 19th 2018, 07:59 |
neon1024 |
Morning all |