mirror of
https://github.com/photoprism/photoprism.git
synced 2025-12-12 00:34:13 +01:00
Auth: Improve user entity model and add unit tests #98
Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
@@ -81,7 +81,7 @@ func StartImport(router *gin.RouterGroup) {
|
||||
RemoveFromFolderCache(entity.RootImport)
|
||||
|
||||
var destFolder string
|
||||
if destFolder = s.User().UploadPath; destFolder == "" {
|
||||
if destFolder = s.User().GetUploadPath(); destFolder == "" {
|
||||
destFolder = conf.ImportDest()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user