Life is Really Short, Have Your Life!!

ござ先輩の主に技術的なメモ

2011-03-22から1日間の記事一覧

パスワード変更とかで自分でhashかけたい

ソース読んだらすぐわかったけど、一応シェア。 Hash a password with the application's salt value (as defined with Configure::write('Security.salt'); 502 Bad Gateway AuthComponentにpasswordっていうメソッドがあって、そいつが独自にhashしてくれ…