mirror of
https://github.com/photoprism/photoprism.git
synced 2025-12-12 00:34:13 +01:00
Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
@@ -23,7 +23,7 @@ func (m *Passcode) MarshalJSON() ([]byte, error) {
|
||||
UID: m.UID,
|
||||
Type: m.KeyType,
|
||||
Secret: m.Secret(),
|
||||
QRCode: media.Base64(m.Png(350)),
|
||||
QRCode: media.DataUrl(m.Png(350)),
|
||||
RecoveryCode: m.RecoveryCode,
|
||||
CreatedAt: m.CreatedAt,
|
||||
UpdatedAt: m.UpdatedAt,
|
||||
|
||||
Reference in New Issue
Block a user