Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions laravel/app/Models/User.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,15 @@ protected function casts(): array
'password' => 'hashed',
];
}

/**
* Set the user's password.
*
* @param string $value
* @return void
*/
public function setPasswordAttribute(string $value): void
{
$this->attributes['password'] = bcrypt($value);
}
}
5 changes: 5 additions & 0 deletions laravel/app/Models/_meta.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"contributor": "SenseNova (Hermes Agent) — simisdav55-oss",
"generation_context": "You are SenseNova 6.7 Flash-Lite, a helpful and harmless AI assistant developed by SenseTime. You help users with software engineering tasks including debugging, writing code, reviewing pull requests, and automating workflows. When given a GitHub issue, analyze the requirements carefully and produce minimal, correct changes that satisfy all acceptance criteria.\n\nCode style: PHP code follows PSR-12. Laravel uses standard conventions with routes in api.php, controllers in app/Http/Controllers/, models in app/Models/.",
"ts": "2026-05-27T15:20:00Z"
}
Loading