# Get device ID if still empty first, otherwise log in right away
# Get device ID if still empty first, otherwise log in right away
elif[-z"${SYNO_Device_ID:-}"];then
# If SYNO_Device_Name is set, we treat that account enabled two-factor authorization, consider SYNO_Device_ID is not set, so it won't be able to login without requiring the OTP code.