Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
ユーザーのログイン時にセッションに情報を追加する必要があります。SugarCRM でこれを行うのに最適な場所はどこですか?
ありがとう。
SugarAuthenticate 認証クラスの拡張を調べて (例については modules/Users/authentication を参照)、postLoginAuthenticate() メソッドをオーバーライドします (親メソッドを呼び出すことを忘れないでください!)。ログインが成功したときに呼び出される after_login ロジック フックを使用することもできます。