Skip to content
Permalink
Browse files

afcmd: udel fixed (there is no temporal and permanent users no more)

  • Loading branch information...
timurhai committed Jul 29, 2019
1 parent 59d0248 commit 2d845cc9d3a8e39350c461b0d0955d23cd0ce7dc
Showing with 2 additions and 3 deletions.
  1. +2 −3 afanasy/src/cmd/cmd_user.cpp
@@ -77,9 +77,8 @@ bool CmdUserDelete::v_processArguments( int argc, char** argv, af::Msg &msg)
{
std::string name = argv[0];

af::jsonActionParamsStart( m_str, "users", name);
m_str << "\n\"permanent\":false";
af::jsonActionParamsFinish( m_str);
af::jsonActionOperationStart(m_str, "users", "delete", name);
af::jsonActionOperationFinish(m_str);

return true;
}

0 comments on commit 2d845cc

Please sign in to comment.
You can’t perform that action at this time.