flexisip-account-manager/flexiapi/app/PhoneChangeCode.php
Timothée Jaussoin 4fc6aaa824 Resolve properly the domain/realm when hashing the password
Add aliases support through two new endpoints, allowing user to set a phone number on his account
Hide the confirmation_key from the returned account JSON
Bump version number
2021-02-11 16:06:20 +01:00

18 lines
308 B
PHP

<?php
namespace App;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class PhoneChangeCode extends Model
{
use HasFactory;
protected $connection = 'local';
public function account()
{
return $this->belongsTo('App\Account');
}
}