diff options
Diffstat (limited to 'src/couchdb')
-rw-r--r-- | src/couchdb/couch_server.erl | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/couchdb/couch_server.erl b/src/couchdb/couch_server.erl index afdf9365..325d4a12 100644 --- a/src/couchdb/couch_server.erl +++ b/src/couchdb/couch_server.erl @@ -74,7 +74,11 @@ delete(DbName, Options) -> check_dbname(#server{dbname_regexp=RegExp}, DbName) -> case re:run(DbName, RegExp, [{capture, none}]) of nomatch -> - {error, illegal_database_name}; + case DbName of + "_users" -> ok; + _Else -> + {error, illegal_database_name} + end; match -> ok end. |