• Eric Chiang's avatar
    server: add more validation to --no-db static file parsing · 7858da56
    Eric Chiang authored
    In #393 the format of the static user file in --no-db mode changed.
    However, the old format loads without error, which has caused
    issues for developers with existing user files.
    
    Add an explicit check to ensure the file is not using the old
    format. If they are, print a better error message.
    7858da56
Name
Last commit
Last update
..
admin.go Loading commit data...
auth_middleware.go Loading commit data...
auth_middleware_test.go Loading commit data...
client_registration.go Loading commit data...
client_registration_test.go Loading commit data...
client_resource.go Loading commit data...
client_resource_test.go Loading commit data...
config.go Loading commit data...
config_test.go Loading commit data...
discovery_resource.go Loading commit data...
discovery_resource_test.go Loading commit data...
email_verification.go Loading commit data...
email_verification_test.go Loading commit data...
error.go Loading commit data...
error_test.go Loading commit data...
http.go Loading commit data...
http_test.go Loading commit data...
invitation.go Loading commit data...
invitation_test.go Loading commit data...
password.go Loading commit data...
password_test.go Loading commit data...
register.go Loading commit data...
register_test.go Loading commit data...
serialization.go Loading commit data...
serialization_test.go Loading commit data...
server.go Loading commit data...
server_test.go Loading commit data...
testutil.go Loading commit data...
user.go Loading commit data...